using Assets.Scripts.GDK;
using UnityEngine;
using UnityEngine.UI;

namespace Brick
{
	[RequireComponent(typeof(VerticalLayoutGroup))]
	[RequireComponent(typeof(ContentSizeFitter))]
	public class gdk_scrollView_content : MonoBehaviour
	{
		private VerticalLayoutGroup verticalLayoutCom;

		private ContentSizeFitter contentSizeCom;

		private void Awake()
		{
			verticalLayoutCom = base.gameObject.GetComponent<VerticalLayoutGroup>();
			contentSizeCom = base.gameObject.GetComponent<ContentSizeFitter>();
			verticalLayoutCom.spacing = 0f;
			contentSizeCom.horizontalFit = ContentSizeFitter.FitMode.Unconstrained;
			contentSizeCom.verticalFit = ContentSizeFitter.FitMode.PreferredSize;
			init();
		}

		private void init()
		{
			gdk_utils.removeAllChildren(base.gameObject.transform);
		}

		private void Update()
		{
		}
	}
}

